<template>
	<div class="app">
		<h2>我是App组件</h2>
		<br>
		<Student :xiaoxi="msg" :qian="money" :che="car"/>
	</div>
</template>

<script>
	import Student from './components/Student'

	export default {
		name:'App',
		components:{Student},
		data() {
			return {
				msg:'你要努力赚钱呀！',
				money:1000000,
				car:{name:'奥拓',price:50000,age:3}
			}
		},
	}	
</script>

<style>
	.app{
		background-color: gray;
		padding: 20px;
	}
</style>